/// code : 200
/// msg : "成功"
/// data : {"nextTalkId":263065,"nextCommentId":-1,"recommendType":"1","dataList":[{"wineArticleId":263252,"articleType":0,"memberId":"970779","memberName":"瓶友w8eo2ymi8","memberImageUrl":"https://image.xiajiucai.com/billionbottle/avatar/2019_10_30_5e10ec93_0920_4a43_815f_c3facaa18599_512x511.png?x-oss-process=image/resize,w_100","memberType":1,"shareTimes":0,"likeTimes":1,"commentTimes":1,"openTimes":2,"type":2,"activityFlag":0,"h5Url":"","exInfo":"","wineArticleImageUrl":"https://image.xiajiucai.com/billionbottle/wineTalk/9e5b291e6cbfff27f09550e44a2228cb_0_1080x1440.png","wineArticleTitle":null,"alcoholTitle":null,"alcoholStar":null,"createTime":"2020-07-29 11:31:56","videoId":null,"fileId":null,"starLevel":null,"depotSKUUrl":null,"title":null,"answerNum":null,"summaryUrl":"","picUrls":["https://image.xiajiucai.com/billionbottle/wineTalk/9e5b291e6cbfff27f09550e44a2228cb_0_1080x1440.png"],"level":0,"isOpen":0}],"newInforId":"0"}

class CommunityFindModel {
  int _code;
  String _msg;
  CommunityFindEntity _data;

  int get code => _code;

  String get msg => _msg;

  CommunityFindEntity get data => _data;

  CommunityFindModel({int code, String msg, CommunityFindEntity data}) {
    _code = code;
    _msg = msg;
    _data = data;
  }

  CommunityFindModel.fromJson(dynamic json) {
    _code = json["code"];
    _msg = json["msg"];
    _data = json["data"] != null
        ? CommunityFindEntity.fromJson(json["data"])
        : null;
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = _code;
    map["msg"] = _msg;
    if (_data != null) {
      map["data"] = _data.toJson();
    }
    return map;
  }
}

/// nextTalkId : 263065
/// nextCommentId : -1
/// recommendType : "1"
/// dataList : [{"wineArticleId":263252,"articleType":0,"memberId":"970779","memberName":"瓶友w8eo2ymi8","memberImageUrl":"https://image.xiajiucai.com/billionbottle/avatar/2019_10_30_5e10ec93_0920_4a43_815f_c3facaa18599_512x511.png?x-oss-process=image/resize,w_100","memberType":1,"shareTimes":0,"likeTimes":1,"commentTimes":1,"openTimes":2,"type":2,"activityFlag":0,"h5Url":"","exInfo":"","wineArticleImageUrl":"https://image.xiajiucai.com/billionbottle/wineTalk/9e5b291e6cbfff27f09550e44a2228cb_0_1080x1440.png","wineArticleTitle":null,"alcoholTitle":null,"alcoholStar":null,"createTime":"2020-07-29 11:31:56","videoId":null,"fileId":null,"starLevel":null,"depotSKUUrl":null,"title":null,"answerNum":null,"summaryUrl":"","picUrls":["https://image.xiajiucai.com/billionbottle/wineTalk/9e5b291e6cbfff27f09550e44a2228cb_0_1080x1440.png"],"level":0,"isOpen":0}]
/// newInforId : "0"

class CommunityFindEntity {
  int _nextTalkId;
  int _nextCommentId;
  String _recommendType;
  List<CommunityFindEntityList> _dataList;
  String _newInforId;

  int get nextTalkId => _nextTalkId;

  int get nextCommentId => _nextCommentId;

  String get recommendType => _recommendType;

  List<CommunityFindEntityList> get dataList => _dataList;

  String get newInforId => _newInforId;

  CommunityFindEntity(
      {int nextTalkId,
      int nextCommentId,
      String recommendType,
      List<CommunityFindEntityList> dataList,
      String newInforId}) {
    _nextTalkId = nextTalkId;
    _nextCommentId = nextCommentId;
    _recommendType = recommendType;
    _dataList = dataList;
    _newInforId = newInforId;
  }

  CommunityFindEntity.fromJson(dynamic json) {
    _nextTalkId = json["nextTalkId"];
    _nextCommentId = json["nextCommentId"];
    _recommendType = json["recommendType"];
    if (json["dataList"] != null) {
      _dataList = [];
      json["dataList"].forEach((v) {
        _dataList.add(CommunityFindEntityList.fromJson(v));
      });
    }
    _newInforId = json["newInforId"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["nextTalkId"] = _nextTalkId;
    map["nextCommentId"] = _nextCommentId;
    map["recommendType"] = _recommendType;
    if (_dataList != null) {
      map["dataList"] = _dataList.map((v) => v.toJson()).toList();
    }
    map["newInforId"] = _newInforId;
    return map;
  }
}

/// wineArticleId : 263252
/// articleType : 0
/// memberId : "970779"
/// memberName : "瓶友w8eo2ymi8"
/// memberImageUrl : "https://image.xiajiucai.com/billionbottle/avatar/2019_10_30_5e10ec93_0920_4a43_815f_c3facaa18599_512x511.png?x-oss-process=image/resize,w_100"
/// memberType : 1
/// shareTimes : 0
/// likeTimes : 1
/// commentTimes : 1
/// openTimes : 2
/// type : 2
/// activityFlag : 0
/// h5Url : ""
/// exInfo : ""
/// wineArticleImageUrl : "https://image.xiajiucai.com/billionbottle/wineTalk/9e5b291e6cbfff27f09550e44a2228cb_0_1080x1440.png"
/// wineArticleTitle : null
/// alcoholTitle : null
/// alcoholStar : null
/// createTime : "2020-07-29 11:31:56"
/// videoId : null
/// fileId : null
/// starLevel : null
/// depotSKUUrl : null
/// title : null
/// answerNum : null
/// summaryUrl : ""
/// picUrls : ["https://image.xiajiucai.com/billionbottle/wineTalk/9e5b291e6cbfff27f09550e44a2228cb_0_1080x1440.png"]
/// level : 0
/// isOpen : 0

class CommunityFindEntityList {
  int _wineArticleId;
  int _articleType;
  String _memberId;
  String _memberName;
  String _memberImageUrl;
  int _memberType;
  int _shareTimes;
  int _likeTimes;
  int _commentTimes;
  int _openTimes;
  int _type;
  int _activityFlag;
  String _h5Url;
  String _exInfo;
  String _wineArticleImageUrl;
  dynamic _wineArticleTitle;
  dynamic _alcoholTitle;
  dynamic _alcoholStar;
  String _createTime;
  dynamic _videoId;
  dynamic _fileId;
  dynamic _starLevel;
  dynamic _depotSKUUrl;
  dynamic _title;
  dynamic _answerNum;
  String _summaryUrl;
  List<String> _picUrls;
  int _level;
  int _isOpen;

  int get wineArticleId => _wineArticleId;

  int get articleType => _articleType;

  String get memberId => _memberId;

  String get memberName => _memberName;

  String get memberImageUrl => _memberImageUrl;

  int get memberType => _memberType;

  int get shareTimes => _shareTimes;

  int get likeTimes => _likeTimes;

  int get commentTimes => _commentTimes;

  int get openTimes => _openTimes;

  int get type => _type;

  int get activityFlag => _activityFlag;

  String get h5Url => _h5Url;

  String get exInfo => _exInfo;

  String get wineArticleImageUrl => _wineArticleImageUrl;

  dynamic get wineArticleTitle => _wineArticleTitle;

  dynamic get alcoholTitle => _alcoholTitle;

  dynamic get alcoholStar => _alcoholStar;

  String get createTime => _createTime;

  dynamic get videoId => _videoId;

  dynamic get fileId => _fileId;

  dynamic get starLevel => _starLevel;

  dynamic get depotSKUUrl => _depotSKUUrl;

  dynamic get title => _title;

  dynamic get answerNum => _answerNum;

  String get summaryUrl => _summaryUrl;

  List<String> get picUrls => _picUrls;

  int get level => _level;

  int get isOpen => _isOpen;

  CommunityFindEntityList(
      {int wineArticleId,
      int articleType,
      String memberId,
      String memberName,
      String memberImageUrl,
      int memberType,
      int shareTimes,
      int likeTimes,
      int commentTimes,
      int openTimes,
      int type,
      int activityFlag,
      String h5Url,
      String exInfo,
      String wineArticleImageUrl,
      dynamic wineArticleTitle,
      dynamic alcoholTitle,
      dynamic alcoholStar,
      String createTime,
      dynamic videoId,
      dynamic fileId,
      dynamic starLevel,
      dynamic depotSKUUrl,
      dynamic title,
      dynamic answerNum,
      String summaryUrl,
      List<String> picUrls,
      int level,
      int isOpen}) {
    _wineArticleId = wineArticleId;
    _articleType = articleType;
    _memberId = memberId;
    _memberName = memberName;
    _memberImageUrl = memberImageUrl;
    _memberType = memberType;
    _shareTimes = shareTimes;
    _likeTimes = likeTimes;
    _commentTimes = commentTimes;
    _openTimes = openTimes;
    _type = type;
    _activityFlag = activityFlag;
    _h5Url = h5Url;
    _exInfo = exInfo;
    _wineArticleImageUrl = wineArticleImageUrl;
    _wineArticleTitle = wineArticleTitle;
    _alcoholTitle = alcoholTitle;
    _alcoholStar = alcoholStar;
    _createTime = createTime;
    _videoId = videoId;
    _fileId = fileId;
    _starLevel = starLevel;
    _depotSKUUrl = depotSKUUrl;
    _title = title;
    _answerNum = answerNum;
    _summaryUrl = summaryUrl;
    _picUrls = picUrls;
    _level = level;
    _isOpen = isOpen;
  }

  CommunityFindEntityList.fromJson(dynamic json) {
    _wineArticleId = json["wineArticleId"];
    _articleType = json["articleType"];
    _memberId = json["memberId"];
    _memberName = json["memberName"];
    _memberImageUrl = json["memberImageUrl"];
    _memberType = json["memberType"];
    _shareTimes = json["shareTimes"];
    _likeTimes = json["likeTimes"];
    _commentTimes = json["commentTimes"];
    _openTimes = json["openTimes"];
    _type = json["type"];
    _activityFlag = json["activityFlag"];
    _h5Url = json["h5Url"];
    _exInfo = json["exInfo"];
    _wineArticleImageUrl = json["wineArticleImageUrl"];
    _wineArticleTitle = json["wineArticleTitle"];
    _alcoholTitle = json["alcoholTitle"];
    _alcoholStar = json["alcoholStar"];
    _createTime = json["createTime"];
    _videoId = json["videoId"];
    _fileId = json["fileId"];
    _starLevel = json["starLevel"];
    _depotSKUUrl = json["depotSKUUrl"];
    _title = json["title"];
    _answerNum = json["answerNum"];
    _summaryUrl = json["summaryUrl"];
    _picUrls = json["picUrls"] != null ? json["picUrls"].cast<String>() : [];
    _level = json["level"];
    _isOpen = json["isOpen"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["wineArticleId"] = _wineArticleId;
    map["articleType"] = _articleType;
    map["memberId"] = _memberId;
    map["memberName"] = _memberName;
    map["memberImageUrl"] = _memberImageUrl;
    map["memberType"] = _memberType;
    map["shareTimes"] = _shareTimes;
    map["likeTimes"] = _likeTimes;
    map["commentTimes"] = _commentTimes;
    map["openTimes"] = _openTimes;
    map["type"] = _type;
    map["activityFlag"] = _activityFlag;
    map["h5Url"] = _h5Url;
    map["exInfo"] = _exInfo;
    map["wineArticleImageUrl"] = _wineArticleImageUrl;
    map["wineArticleTitle"] = _wineArticleTitle;
    map["alcoholTitle"] = _alcoholTitle;
    map["alcoholStar"] = _alcoholStar;
    map["createTime"] = _createTime;
    map["videoId"] = _videoId;
    map["fileId"] = _fileId;
    map["starLevel"] = _starLevel;
    map["depotSKUUrl"] = _depotSKUUrl;
    map["title"] = _title;
    map["answerNum"] = _answerNum;
    map["summaryUrl"] = _summaryUrl;
    map["picUrls"] = _picUrls;
    map["level"] = _level;
    map["isOpen"] = _isOpen;
    return map;
  }
}
